This resource endpoint deletes a given protected path using a
name or id passed in the URL.
URL Parameters
force
You will get an error if you attempt to delete a protected-path that has
permissions on it. Set force to true to
remove all of the permissions and delete the path. Otherwise, set to
false.
Request Headers
Accept
The expected MIME type of the request body. If
the format parameter is present, it takes precedence over the
Accept header.
Content-type
The MIME
type of the data in the request
body. Depending upon the value of the format
parameter or Accept header, one of
application/xml, application/json,
or text/html.
Response Headers
Content-type
The MIME type of the data in the response
body. Depending upon the value of the format parameter or
Accept header, one of
application/xml, application/json, or text/html.
Response
A successful call to the endpoint will return the HTTP code
204 No Content. The server successfully processed the request
and is not returning any content.
Produces
application/json
JSON Content
application/xml
XML Content
Required Privileges
This operation requires one of the following:
the manage-admin and security role
the following privileges:
http://marklogic.com/xdmp/privileges/manage
http://marklogic.com/xdmp/privileges/manage-admin
http://marklogic.com/xdmp/privileges/remove-path
Usage Notes
This resource endpoint deletes a given protected path
using a name or id passed in the URL.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.